<!-- Begin admin/statuses/edit.tpl -->
<form method="post" action="?module=admin&action=statuses&subaction=edit&id={$smarty.get.id}">
<input type="hidden" name="commit" value="true">
{titlebar colspan=2 title="Update Status"}
{opentable}
<tr>
<td width="20%"  class="label" align="right" valign="top">Code (4 car. max)</td>
<td width="80%" class="data"><input type="text" size="32" name="status" value="{$status.status|stripslashes}"></td>
</tr>
<tr>
<td width="20%" class="label" align="right" valign="top">Status Type:</td>
<td width="80%" class="data">
<select name="status_type">
{foreach from=$status_types key=id item=type}
<option value="{$id}"{if $id eq $status.status_type} selected="selected"{/if}>{$type}</option>
{/foreach}
</select>
</td>
</tr>

</table>
<tr>
<table>
	<tr class="sectiontableheader" align="center">
		<td align="left">{$lg->language}</td>
		<td width="50%">{$lg->short_description}</td>
	</tr>

{if is_array($t_datas)}
{foreach from=$t_datas item=s_datas}
{php}$class = rowcolor();{/php}
	
	<tr class="{php}print $class;{/php}" align="center">
		<td align="left"  width="5%">{$s_datas.langu}</td>		
		<td align="left"><input type="text" size="32" name="{$s_datas.langu}" value="{$s_datas.vtext|stripslashes}"></td>
	</tr>
{/foreach}	
{else}
	<tr class="data"><td colspan="2">{$lg->no_data}</td></tr>
{/if}
	<tr><td class="titlebar" colspan="2"><input type="submit" class="button" value="Valider"></td></tr>

</table>
</tr>
</form>
</table>
<!-- End admin/statuses/edit.tpl -->

